package rgbos.forum.domain;

public  class User {
		
		protected String username_;
		protected String password_;
		protected String email_;
		protected int permmisionGroup;
		public static final int REGULAR = 0;
		public static final int MODERATOR = 1;
		public static final int ADMIN = 2;
		
		public User(String userName,String pass,String eMail,int perm){
			this.username_=userName;
			this.password_=pass;
			this.email_=eMail;
			this.permmisionGroup = perm;
		}
		public String getUsername() {
			return username_;
		}

		public void setUsername(String username_) {
			this.username_ = username_;
		}

		public String getPassword() {
			return password_;
		}

		public void setPassword(String password_) {
			this.password_ = password_;
		}

		public String getEmail() {
			return email_;
		}

		public void setEmail(String email_) {
			this.email_ = email_;
		}

		public int getPermmisionGroup() {
			return permmisionGroup;
		}

		public void setPermmisionGroup(int permmisionGroup) {
			this.permmisionGroup = permmisionGroup;
		}
}
